<?php

class MyStockPeer extends BaseMyStockPeer
{
  static public function doSelectFromCode($code)
  {
    $c = new Criteria();
    $c->add(MyStockPeer::CODE, $code);
    return MyStockPeer::doSelectOne($c);
  }
}
